<template>
  <div>
    欢迎来到前端大世界
    <van-cell-group>
      <van-cell title="单元格" value="内容"></van-cell>
      <van-cell title="单元格" value="内容"></van-cell>
    </van-cell-group>
    <van-button @click="go">去登录222</van-button>
  </div>
</template>

<script>
import routes from '@/routes';
export default {
  methods: {
    go() {
      this.$root.currentRoute = '/login';
      window.history.pushState(null, routes['login'], this.href);
    },
  },
};
</script>

<style></style>
